default: restart

ALL = $(shell docker ps -a -q)
IMAGE = $(shell docker images --filter=reference='compose*:*' --format "{{.Repository}}")
delete:
	docker stop $(ALL)
	docker rm $(ALL)
	docker rmi $(IMAGE)
restart: delete
	docker-compose up -d

run:
	docker-compose up -d